package cn.mxz.generator;

import cn.mxz.generator.config.GeneratorConfig;

public class JavaGenerator implements Generator {

	private GeneratorConfig config;

	public JavaGenerator(GeneratorConfig config) {
		this.config = config;
	}

	@Override
	public void generator() {
		Generator g;
		
		g = new JavaHandlerGenerator(config);
		g.generator();
		
		g = new JavaPacketInterfaceGenerator(config);
		g.generator();

	}

}
